﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TheDrinksApp.ViewModel;

namespace TheDrinksApp.Models
{
    public class Drink : ObservableObject
    {
        private int drinkID;

        public int DrinkID
        {
            get { return drinkID; }
            set { drinkID = value; }
        }
        private string drinkName;

        public string DrinkName
        {
            get { return drinkName; }
            set 
            { 
                drinkName = value;
                NotifyPropertyChanged("DrinkName");
            }
        }
        private int catergoryID;

        public int CatergoryID
        {
            get { return catergoryID; }
            set { catergoryID = value; }
        }
        private string description;

        public string Description
        {
            get { return description; }
            set { description = value; }
        }
        public Drink()
        {
            drinkID = catergoryID  =- 1;
            drinkName = description = "";
        }
    }
}
